//显示的静态路由表
export const constantRoutes = [
  {
    path: "/",
    name: "布局组件",
    redirect: "/login",
    // component: () => import("@/views/layout/index.vue"),
  },
  {
    path: "/login",
    name: "登录",
    component: () => import("@/views/login/index.vue"),
    hidden: true,
    meta: {
      title: "登录",
    },
  },
  {
    //配置404页面
    path: "/:catchAll(.*)",
    name: "404",
    component: () => import("@/views/404/index.vue"),
    hidden: true,
  },
];
